-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve market upgrade messages + new switch #28812
Conversation
Improve market upgrade messages. Added switch to disable automatic app updates during occ upgrade.
Even if no internet connection is available, we still need to verify that there are no incompatible apps on upgrade and show an appropriate message.
@@ -114,7 +114,7 @@ public function run(IOutput $output) { | |||
$link = $this->defaults->buildDocLinkToKey('admin-marketplace-apps'); | |||
$output->info('No internet connection available - no app updates will be taken from the marketplace.'); | |||
$output->info("How to update apps in such situation please see $link"); | |||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will likely change the behaviour. Is it fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is intended. We should not return
directly because even if we don't attempt contacting the marketplace, we should still check if there is any incompatible app or app missing code blocking the update. Returning here would bypass the check and result in a broken OC in such scenarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks fine, not tested.
stable10: #28871 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Improve market upgrade messages.
Added switch to disable automatic app updates during occ upgrade.
Related Issue
Fixes #28734
Motivation and Context
How Has This Been Tested?
upgrade.automatic-app-update
is set to falseupgrade.automatic-app-update
is set to falseScreenshots (if appropriate):
Types of changes
Checklist: